package net.maku.module.business.convert;

import net.maku.module.business.entity.DictionariesEntity;
import net.maku.module.business.vo.DictionariesVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
 * 业务_字典
 *
 * @author
 */
@Mapper
public interface DictionariesConvert {
    DictionariesConvert INSTANCE = Mappers.getMapper(DictionariesConvert.class);

    DictionariesEntity convert(DictionariesVO vo);

    DictionariesVO convert(DictionariesEntity entity);

    List<DictionariesVO> convertList(List<DictionariesEntity> list);

}